<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        div {
            width: 200px;
            height: 200px;
            background: pink;
        }
    </style>
</head>

<body>
    <div>比较霸道，独占一行,可改宽高</div> 瑟瑟发抖
    <!-- 文字类的元素内不能存放块级元素 -->
    <p>
    <div>浏览器检查有错误</div>
    </p>
</body>

</html>